package com.navinfo.platform.dataanalysis.range;

import com.google.common.collect.Range;

/**
 * @author machi
 * @create 2018/12/21
 **/
public enum ClockRange {
    /**
     *
     */
    CLOCK_RANGE_0(Range.closed(0,0)),
    CLOCK_RANGE_1(Range.closed(1,1)),
    CLOCK_RANGE_2(Range.closed(2,2)),
    CLOCK_RANGE_3(Range.closed(3,3)),
    CLOCK_RANGE_4(Range.closed(4,4)),
    CLOCK_RANGE_5(Range.closed(5,5)),
    CLOCK_RANGE_6(Range.closed(6,6)),
    CLOCK_RANGE_7(Range.closed(7,7)),
    CLOCK_RANGE_8(Range.closed(8,8)),
    CLOCK_RANGE_9(Range.closed(9,9)),
    CLOCK_RANGE_10(Range.closed(10,10)),
    CLOCK_RANGE_11(Range.closed(11,11)),
    CLOCK_RANGE_12(Range.closed(12,12)),
    CLOCK_RANGE_13(Range.closed(13,13)),
    CLOCK_RANGE_14(Range.closed(14,14)),
    CLOCK_RANGE_15(Range.closed(15,15)),
    CLOCK_RANGE_16(Range.closed(16,16)),
    CLOCK_RANGE_17(Range.closed(17,17)),
    CLOCK_RANGE_18(Range.closed(18,18)),
    CLOCK_RANGE_19(Range.closed(19,19)),
    CLOCK_RANGE_20(Range.closed(20,20)),
    CLOCK_RANGE_21(Range.closed(21,21)),
    CLOCK_RANGE_22(Range.closed(22,22)),
    CLOCK_RANGE_23(Range.closed(23,23)),
    ;

    private Range<Integer> range;

    ClockRange(Range<Integer> range) {
        this.range = range;
    }

    public Range<Integer> getRange() {
        return range;
    }
}
